---
image: /generated/articles-docs-studio-go-to-composition.png
title: goToComposition()
crumb: '@remotion/studio'
---

# goToComposition()<AvailableFrom v="4.0.287"/>

Selects a composition in the Remotion Studio.

## Examples

```tsx twoslash title="Go to a composition"
import {goToComposition} from '@remotion/studio';

goToComposition('my-composition');
```

If the composition is not found, an error will be thrown.

## See also

- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/studio/src/api/go-to-composition.ts)
